<!DOCTYPE html>
<html>
<head>
	<title>即时注单</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="__STATIC__/css/font-awesome.css" rel="stylesheet">
	<link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
	<link href="__STATIC__/css/animate.css" rel="stylesheet">
	<link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/instr.css">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
</head>
<body>
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;">
		</div>

		<div style="position: relative;width: 80%;float: right;">
			<div class="arrow-left"></div>
			<div class="memus" style="height: 30px;">
				<div class="bevel"></div>
				<div style="clear: both;"></div>
		{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
			</div>
			<div style="clear: both;"></div>
		

		<div>
			<div class="arrow-right"></div>
			<div class="memu1">
				<div class="lun"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>
	</div>


	<div class="middle">
			<div class="middle-line1-content">
				<div class="middle-line1-leftdate">即时注单:{$datatime}期</div>
				<div class="middle-line1-leftselect">
					<span>更新</span>
					<select>
						<option>停止</option>
						<option>10秒</option>
						<option>20秒</option>
						<option>60秒</option>
					</select>
					<span style="margin-left: 30%;">香港时间:
						<span id="time1" style="color: #281f1f;"></span>
					</span>&emsp;
					<span>距离
						<b style="color: red">开盘</b>时间还有
						<span>&ensp;0&ensp;时&ensp;38&ensp;分&ensp;52&ensp;秒</span>
					</span>
				</div>
				<div class="middle-line1-leftbutton">
					<span style="color: green">点击开盘</span>
					<span style="    margin-right: 15%;">刷新</span>
				</div>
				<div style="clear: both;"></div>

				<div style="  text-align: center;" class="middle-line1-leftspan">
				<span id="inject1">特码[
					<span>{$arr[0]}</span>]</span>
				<span id="inject2">正码[
					<span>{$arr[1]}</span>]</span>
				<span id="inject3">正码特[
					<span>{$arr[2]}</span>]</span>
				<span id="inject4">正码1-6[
					<span>{$arr[3]}</span>]</span>
				<span id="inject5">半波七码[
					<span>{$arr[4]}</span>]</span>
				<span id="inject6">生肖头尾数[
					<span>{$arr[5]}</span>]</span>
				<span id="inject7">正特多选项[
					<span>{$arr[6]}</span>]</span>
				<span id="inject8">连码[
					<span>{$arr[7]}</span>]</span>
				<span id="inject9">全不中/多中一[
					<span>{$arr[8]}</span>]</span>
				<span id="inject10">正总一肖正特尾数七色波[
					<span>{$arr[9]}</span>]</span>
				<span id="inject11">总计[
					<span>{$zongarr}</span>]</span>
			</div>
			</div>

			<div class="openone" style="border: 0; " id="injection7">
					<div class="lianma1" id="lm1" style="display: block;">
						<div style="width: 100%;float: left;    ">
							<table style="width: 100%;margin:0 auto;">
								<thead>
									<tr>
										<th colspan="10">
											<span style="color: white;">连肖前100排行</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>No</td>
										<td>单号/时间</td>
										<td>账号</td>
										<td>名称</td>
										<td>盘类</td>
										<td>下注内容</td>
										<td>赔率</td>
										<td>下注金额</td>
										<td>退水</td>
										<td>可赢金额</td>
									</tr>
									{foreach $res10 as $r10 }
										<tr>
											<td>
												{$r10.number}
											</td>
											<td>
												{$r10.times+$r10.id}
											</td>
											<td>
												{$r10.username}
											</td>
											<td>
												{$r10.uname}
											</td>
											<td>
												{$r10.andicap}
											</td>
											<td>
												{$r10.content}
											</td>
											<td>
												{$r10.rate}
											</td>
											<td>
												{$r10.price}
											</td>
											<td>
												{$r10.ts}
											</td>
											<td>
												{$r10.money}
											</td>
										</tr>
									{/foreach}
								</tbody>
							</table>
							<table style="width: 100%;margin:15 auto;">
								<thead>
									<tr>
										<th colspan="10">
											<span style="color: white;">多肖前100排行</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>No</td>
										<td>单号/时间</td>
										<td>账号</td>
										<td>名称</td>
										<td>盘类</td>
										<td>下注内容</td>
										<td>赔率</td>
										<td>下注金额</td>
										<td>退水</td>
										<td>可赢金额</td>
									</tr>
									{foreach $res12 as $r12}
									<tr>
										<td>
											{$r12.number}
										</td>
										<td>
											{$r12.times+$r12.id}
										</td>
										<td>
											{$r12.username}
										</td>
										<td>
											{$r12.uname}
										</td>
										<td>
											{$r12.andicap}
										</td>
										<td>
											{$r12.content}
										</td>
										<td>
											{$r12.rate}
										</td>
										<td>
											{$r12.price}
										</td>
										<td>
											{$r12.ts}
										</td>
										<td>
											{$r12.money}
										</td>
									</tr>
									{/foreach}
								</tbody>
							</table>
							<table style="width: 100%;margin:0 auto;">
								<thead>
									<tr>
										<th colspan="10">
											<span style="color: white;">正码过关前100排行</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>No</td>
										<td>单号/时间</td>
										<td>账号</td>
										<td>名称</td>
										<td>盘类</td>
										<td>下注内容</td>
										<td>赔率</td>
										<td>下注金额</td>
										<td>退水</td>
										<td>可赢金额</td>
									</tr>
									{foreach $res5 as $r5}
									<tr>
										<td>
											{$r5.number}
										</td>
										<td>
											{$r5.times+$r5.id}
										</td>
										<td>
											{$r5.username}
										</td>
										<td>
											{$r5.uname}
										</td>
										<td>
											{$r5.andicap}
										</td>
										<td>
											{$r5.content}
										</td>
										<td>
											{$r5.rate}
										</td>
										<td>
											{$r5.price}
										</td>
										<td>
											{$r5.ts}
										</td>
										<td>
											{$r5.money}
										</td>
									</tr>
									{/foreach}
								</tbody>
							</table>
							<table style="width: 100%;margin:0 auto;">
								<thead>
									<tr>
										<th colspan="10">
											<span style="color: white;">尾数连前100排行</span>
										</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>No</td>
										<td>单号/时间</td>
										<td>账号</td>
										<td>名称</td>
										<td>盘类</td>
										<td>下注内容</td>
										<td>赔率</td>
										<td>下注金额</td>
										<td>退水</td>
										<td>可赢金额</td>
									</tr>
									{foreach $res11 as $r11}
									<tr>
										<td>
											{$r11.number}
										</td>
										<td>
											{$r11.times+$r11.id}
										</td>
										<td>
											{$r11.username}
										</td>
										<td>
											{$r11.uname}
										</td>
										<td>
											{$r11.andicap}
										</td>
										<td>
											{$r11.content}
										</td>
										<td>
											{$r11.rate}
										</td>
										<td>
											{$r11.price}
										</td>
										<td>
											{$r11.ts}
										</td>
										<td>
											{$r11.money}
										</td>
									</tr>
									{/foreach}
								</tbody>
							</table>
							<div style="clear: both;"></div>
						</div>
					</div>
			</div>
	</div>

	<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
	<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<!-- 自定义JS -->
	<script type="text/javascript">
		$(".allmoney").click(function(){
			window.location.href="{:url('admin/home/injec')}"
		})

		$("#replenmingxi").click(function(){
			window.location.href="{:url('admin/home/injecone')}"
		})

		$("#zhudandaochu").click(function(){
			window.location.href="{:url('admin/home/injectwo')}"
		})

		$("#inject1").click(function(){window.location.href="{:url('admin/Single/injection')}"});
		$("#inject2").click(function(){window.location.href="{:url('admin/Single/injectionzheng')}"});
		$("#inject3").click(function(){window.location.href="{:url('admin/Single/injectionzmte')}"});
		$("#inject4").click(function(){window.location.href="{:url('admin/Single/injection1to6')}"});
		$("#inject5").click(function(){window.location.href="{:url('admin/Single/injectionbanbo')}"});
		$("#inject6").click(function(){window.location.href="{:url('admin/Single/injectiontws')}"});
		$("#inject7").click(function(){window.location.href="{:url('admin/Single/injectiondxx')}"});
		$("#inject8").click(function(){window.location.href="{:url('admin/Single/injectionlianma')}"});
		$("#inject9").click(function(){window.location.href="{:url('admin/Single/injectionmiss')}"});
		$("#inject10").click(function(){window.location.href="{:url('admin/Single/injectionqise')}"});


		// var timestamp=new Date().getTime()；
		function mytime() {
			var a = new Date();
			var b = a.toLocaleTimeString();
			var c = a.toLocaleDateString();
			document.getElementById("time1").innerHTML = c + "&nbsp" + b;
		}
		setInterval(function () {
			mytime()
		}, 1000);

		//公告轮播
		$(function () {
			var price = 0
			//轮播
			var left = 0;

			function move() {
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left", left + "px")
			}
			setInterval(move, 60)
		})

		//点击跳转到补货页面
		$("#moneyone").click(function(){
			window.location.href="{:url('admin/Single/buhuo')}"
		})

	</script>
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>